package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_opera_mask_unlock_scene", autoSave = true)
public class LogOperaMaskUnlockScene {

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "剧目ID")
    private int sceneId;
    @FieldTypeAnnotation(desc = "唱功等级")
    private int singLevel;
    @FieldTypeAnnotation(desc = "累计消耗体力")
    private int sumEnergy;

    @FieldTypeAnnotation(desc = "累计雅韵值")
    private long sumScore;

    @FieldTypeAnnotation(desc = "时间")
    private Date time;

    public LogOperaMaskUnlockScene(long userId, int activityId, int sceneId, int singLevel, int sumEnergy, long sumScore) {
        this.userId = userId;
        this.activityId = activityId;
        this.sceneId = sceneId;
        this.singLevel = singLevel;
        this.sumEnergy = sumEnergy;
        this.sumScore = sumScore;
        this.time = new Date();
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getSceneId() {
        return sceneId;
    }

    public void setSceneId(int sceneId) {
        this.sceneId = sceneId;
    }

    public int getSingLevel() {
        return singLevel;
    }

    public void setSingLevel(int singLevel) {
        this.singLevel = singLevel;
    }

    public int getSumEnergy() {
        return sumEnergy;
    }

    public void setSumEnergy(int sumEnergy) {
        this.sumEnergy = sumEnergy;
    }

    public long getSumScore() {
        return sumScore;
    }

    public void setSumScore(long sumScore) {
        this.sumScore = sumScore;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
